{% extends "base_main.html" %}

{% block page_title %}Your Friend: {{ your_friend.friendly_name }}{% endblock %}
{% block meta_title %}WhatYou - Tell the world what you are doing, Twitter style!{% endblock %}
{% block meta_description %}Publish multiple statuses, so your friends know what you are up to{% endblock %}
{% block meta_keywords %}what, you, whatyou, publish, status, twitter, clone, alternative, replacement, google, appengine, gae{% endblock %}

{% block menu_custom %}
	<li class="current_page_item"><a href="#">Profile</a></li>
{% endblock %}

{% block menu_01 %}
	<li>
		<h2>Their Updates</h2>
		<ul>
			{% for update in your_friend_updates|dictsortreversed:"start_time" %}
				<li>
					<strong>
						{{ update.verb|capfirst }}
						{{ update.body_tpc }}
					</strong>
					{% if update.is_temporary %}
						<br/>
						<i>(expires in {{ update.finish_time|timeuntil }})</i>
					{% endif %}
				</li>
			{% endfor %}
		</ul>
	</li>
	<li>
		<h2>RSS Feeds</h2>
		<ul>
			<li>
				<a href="/rss/updates/for/{{ your_friend.key }}/">Their Updates</a>
			</li>
		</ul>
	</li>
{% endblock %}

{% block content_main %}

<h1>Profile for {{ your_friend.friendly_name }}</h1>
<p>Email Address: <strong>{{ your_friend.user.email }}</strong></p>

<form action="" method="post">
	{{ form.as_p }}
	<input type="submit" value="Save Changes" />
</form>

{% endblock %}